package cn.szabadsag.hrm.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author yangcong
 * @date 2022年04月13日 21:10
 * @since
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserRegisterParamsDTO {

    @NotEmpty(message = "手机号不能为空！")
    private String mobile;

    @NotEmpty(message = "密码不能为空！")
    private String password;

    @NotEmpty(message = "图片验证码不能为空！")
    private String imageCode;

    @NotEmpty(message = "手机验证码不能为空！")
    private String smsCode;

    @NotNull(message = "注册渠道不能为空！")
    private Integer regChannel;
}
